<script setup>
const onClickLeft = () => history.back();
</script>
<template>
  <van-nav-bar
    :fixed="true"
    :placeholder="true"
    title="修改密码"
    left-arrow
    @click-left="onClickLeft"
  />
  <div class="padd">
    <van-cell-group inset>
      <van-field
        v-model="value1"
        placeholder="请输入旧密码"
      />
       <van-field
       v-model="password" type="password" 
        placeholder="请输入新密码"
      />
       <van-field
       v-model="password" type="password" 
        placeholder="确定新密码"
      />
    </van-cell-group>
    <div class="box">
    <van-button type="primary" size="large">提交</van-button>
  </div>
  </div>
</template>



<style  scoped>
.padd {
  margin-top: 30px;
  padding: 0 20px;
}
.box {
  padding: 10px;
}
</style>